package com.egu.service;

import java.util.List;

import com.egu.model.User;
import com.egu.model.UserRole;
import com.egu.vo.PageParam;
import com.egu.vo.RequestPageVo;
import com.egu.vo.RequestResultVo;

public interface UserRoleService {

	RequestResultVo<List<UserRole>> getAllList();

	RequestResultVo<UserRole> saveOrUpdate(UserRole userRole);

	RequestResultVo<UserRole> deleteDataById(Integer id);

	RequestPageVo<UserRole> getList(PageParam param, UserRole userRole);
	

	UserRole getUserRoleByCurrentUser(User user);
	
}
